import React, { Component, Fragment } from 'react'
import nprogress from 'nprogress';
import 'nprogress/css/nprogress.css'

export default class index extends Component {
    constructor(props: any) {
        super(props)
        nprogress.start()
    }
    componentWillUnmount() {
        nprogress.done()
    }
    render() {
        return (
            <Fragment></Fragment>
        )
    }
}

